package cn.webrx.wxs.entity;

import java.math.BigDecimal;

public class User {
    private Integer id;

    private String sn;

    private Byte root;

    private String nickname;

    private String avatar;

    private String mobile;

    private Byte level;

    private Integer groupId;

    private Boolean sex;

    private Integer birthday;

    private BigDecimal userMoney;

    private Integer userIntegral;

    private BigDecimal totalOrderAmount;

    private BigDecimal totalRechargeAmount;

    private String account;

    private String password;

    private String payPassword;

    private String salt;

    private Integer firstLeader;

    private Integer secondLeader;

    private Integer thirdLeader;

    private Boolean isDistribution;

    private Boolean freezeDistribution;

    private String distributionH5QrCode;

    private String distributionMnpQrCode;

    private String distributionAppQrCode;

    private String distributionCode;

    private Integer createTime;

    private Integer updateTime;

    private Integer loginTime;

    private String loginIp;

    private Boolean disable;

    private Byte del;

    private Integer userGrowth;

    private Float earnings;

    private String ancestorRelation;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn == null ? null : sn.trim();
    }

    public Byte getRoot() {
        return root;
    }

    public void setRoot(Byte root) {
        this.root = root;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public Byte getLevel() {
        return level;
    }

    public void setLevel(Byte level) {
        this.level = level;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public Boolean getSex() {
        return sex;
    }

    public void setSex(Boolean sex) {
        this.sex = sex;
    }

    public Integer getBirthday() {
        return birthday;
    }

    public void setBirthday(Integer birthday) {
        this.birthday = birthday;
    }

    public BigDecimal getUserMoney() {
        return userMoney;
    }

    public void setUserMoney(BigDecimal userMoney) {
        this.userMoney = userMoney;
    }

    public Integer getUserIntegral() {
        return userIntegral;
    }

    public void setUserIntegral(Integer userIntegral) {
        this.userIntegral = userIntegral;
    }

    public BigDecimal getTotalOrderAmount() {
        return totalOrderAmount;
    }

    public void setTotalOrderAmount(BigDecimal totalOrderAmount) {
        this.totalOrderAmount = totalOrderAmount;
    }

    public BigDecimal getTotalRechargeAmount() {
        return totalRechargeAmount;
    }

    public void setTotalRechargeAmount(BigDecimal totalRechargeAmount) {
        this.totalRechargeAmount = totalRechargeAmount;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword == null ? null : payPassword.trim();
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }

    public Integer getFirstLeader() {
        return firstLeader;
    }

    public void setFirstLeader(Integer firstLeader) {
        this.firstLeader = firstLeader;
    }

    public Integer getSecondLeader() {
        return secondLeader;
    }

    public void setSecondLeader(Integer secondLeader) {
        this.secondLeader = secondLeader;
    }

    public Integer getThirdLeader() {
        return thirdLeader;
    }

    public void setThirdLeader(Integer thirdLeader) {
        this.thirdLeader = thirdLeader;
    }

    public Boolean getIsDistribution() {
        return isDistribution;
    }

    public void setIsDistribution(Boolean isDistribution) {
        this.isDistribution = isDistribution;
    }

    public Boolean getFreezeDistribution() {
        return freezeDistribution;
    }

    public void setFreezeDistribution(Boolean freezeDistribution) {
        this.freezeDistribution = freezeDistribution;
    }

    public String getDistributionH5QrCode() {
        return distributionH5QrCode;
    }

    public void setDistributionH5QrCode(String distributionH5QrCode) {
        this.distributionH5QrCode = distributionH5QrCode == null ? null : distributionH5QrCode.trim();
    }

    public String getDistributionMnpQrCode() {
        return distributionMnpQrCode;
    }

    public void setDistributionMnpQrCode(String distributionMnpQrCode) {
        this.distributionMnpQrCode = distributionMnpQrCode == null ? null : distributionMnpQrCode.trim();
    }

    public String getDistributionAppQrCode() {
        return distributionAppQrCode;
    }

    public void setDistributionAppQrCode(String distributionAppQrCode) {
        this.distributionAppQrCode = distributionAppQrCode == null ? null : distributionAppQrCode.trim();
    }

    public String getDistributionCode() {
        return distributionCode;
    }

    public void setDistributionCode(String distributionCode) {
        this.distributionCode = distributionCode == null ? null : distributionCode.trim();
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Integer loginTime) {
        this.loginTime = loginTime;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp == null ? null : loginIp.trim();
    }

    public Boolean getDisable() {
        return disable;
    }

    public void setDisable(Boolean disable) {
        this.disable = disable;
    }

    public Byte getDel() {
        return del;
    }

    public void setDel(Byte del) {
        this.del = del;
    }

    public Integer getUserGrowth() {
        return userGrowth;
    }

    public void setUserGrowth(Integer userGrowth) {
        this.userGrowth = userGrowth;
    }

    public Float getEarnings() {
        return earnings;
    }

    public void setEarnings(Float earnings) {
        this.earnings = earnings;
    }

    public String getAncestorRelation() {
        return ancestorRelation;
    }

    public void setAncestorRelation(String ancestorRelation) {
        this.ancestorRelation = ancestorRelation == null ? null : ancestorRelation.trim();
    }
}